from api.irhm_login_api import iRHMLoginApi


def get_02_token():
    login_data={
        "mobile": "13800000002",
        "password": "123456"
    }
    r=iRHMLoginApi.login(login_data)
    return r.json().get('data')

if __name__ == '__main__':
    json={
        "mobile": "13800000002",
        "password": "123456"
    }
    r=iRHMLoginApi.login(json)
    x=(r.json())
    a=x.get('data')
    print(a)